﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;

namespace InvoiceInvoker.Logic
{
	public static class PaymentTypesProvider
	{
		public static List<string> GetPaymentTypes()
		{
			string paymentTypes = ConfigurationManager.AppSettings["PaymentTypes"];
			string[] separator = { ", ", "," };
			return paymentTypes.Split(separator, StringSplitOptions.RemoveEmptyEntries).ToList();
		}
	}
}
